
const fs = require('fs')

const newsRouter = (req, res) => {
    const news = fs.readFileSync('./views/news.html')
    res.end(news)
}

module.exports = newsRouter